﻿namespace Sidvall.Data
{
    public class DataRowItem<TField>
    {
        #region Public Members

        public string Key { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public FieldValueItemCollection<TField> FieldValueItems { get; set; }

        #endregion
        #region Constructors

        public DataRowItem()
        {
        }
        public DataRowItem(string key)
        {
            this.Key = key;
            this.FieldValueItems = new FieldValueItemCollection<TField>();
        }

        #endregion
    }
}
